package com.huizu.api.domain;

import java.util.List;
import java.util.Map;

import com.huizu.common.annotation.Excel;

/**
 * 规格 member
 * 
 * @date 2021-09-14
 */
public class Spec1Api implements Comparable<Spec1Api>{
	private static final long serialVersionUID = 1L;

	/** id */
	private Integer specId;

	/** 名称 */
	private String specName;
	
	private List<SpecApi> list;
	
	public List<SpecApi> getList() {
		return list;
	}

	public void setList(List<SpecApi> list) {
		this.list = list;
	}

	public Integer getSpecId() {
		return specId;
	}

	public void setSpecId(Integer specId) {
		this.specId = specId;
	}

	public String getSpecName() {
		return specName;
	}

	public void setSpecName(String specName) {
		this.specName = specName;
	}

	@Override
	public int compareTo(Spec1Api o) {
		int i =  (this.getSpecId()- o.getSpecId());
		return i;
	}




}
